<template>
  <div class="title">代办事项</div>
  <div class="shortcuts">
   <div class="item">
    <span>当前版本：</span>
    <span>1.0.0</span>
   </div>
   <div class="item">
    <span>基于框架：</span>
    <span>Vue3+Element-Plus</span>
   </div>
   <div class="item">
    <span>主要特色：</span>
    <span>响应式/自定义主题/功能全面</span>
   </div>
  </div>
</template>

<script setup lang="ts">
import { themePinia } from '@/libs/pinia/theme';
import { computed } from 'vue';

const theme=themePinia()

const globalTextColor=computed(()=>theme.GlobalTextColor)
const echartsBoxChildrenBackgroundColor=computed(()=>theme.EchartsBoxChildrenBackgroundColor)
const EchartsBoxChildrenTextColor=computed(()=>theme.EchartsBoxChildrenTextColor)
</script>

<style scoped lang="scss">
.title {
  padding: 0.6rem 0;
  margin: 0 0.6rem;
  color: v-bind(EchartsBoxChildrenTextColor);
  font-size: 1.5rem;
  border-bottom: 2px solid #f6f6f6;
}

.shortcuts {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-top: 1.5rem;
  padding: 0.6rem 0;  .item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: v-bind(EchartsBoxChildrenTextColor);
    height: 3rem;
    line-height: 3rem;
    padding-left: 0.6rem;

    span:first-child {
      width: 6rem;
    }
  }
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: v-bind(echartsBoxChildrenBackgroundColor);
  height: 8rem;
  padding-left: 2rem;
  cursor: pointer;
  .t1 {
    font-size: 1.2rem;
    color: v-bind(EchartsBoxChildrenTextColor);
  }
  .t2 {
    font-size: 2rem;
    color: v-bind(globalTextColor);
  }
}
.el-row2 {
  margin-top: 1.5rem;
}
</style>
